//=============================================================================
/**
 * @file	phclink_bmp.h
 * @brief	PHC-DS接続画面BMPWIN処理ヘッダ
 *
 * @author	Akito Mori
 * @date    2009.01.29
 */
//=============================================================================

#ifndef __PHCLINK_BMP_H__
#define __PHCLINK_BMP_H__


// カラー指定
#define PHCCOL_N_WHITE	GF_PRINTCOLOR_MAKE( 15, 14, 0 )		///< 白文字
#define PHCCOL_N_BLACK	GF_PRINTCOLOR_MAKE(  1, 14, 0 )		///< 会話フォント用
#define PHCCOL_T_BLACK	GF_PRINTCOLOR_MAKE(  1,  2, 0 )		///< 報酬画面バナー用
#define PHCCOL_T_WHITE	GF_PRINTCOLOR_MAKE(  3,  4, 0 )		///< 報酬画面テキスト表示用
#define PHCCOL_B_BLACK	GF_PRINTCOLOR_MAKE( 15,  1, 0 )		///< ボタン内に描画するタッチフォント用の色定義


// はい・いいえ選択時の定義
#define PHC_YESNO_YES	( 0 )	///< はい
#define PHC_YESNO_NO	( 1 )	///< いいえ
#define PHC_YESNO_NONE	( 2 )	///< 未選択状態

extern void PhcLinkBmp_Init( PHCLINK_WORK * wk, int no );
extern void PhcLinkBmp_Exit( PHCLINK_WORK * wk, int no );

extern void PhcLinkBmp_MenuStrGet( PHCLINK_WORK * wk );
extern void PhcLinkBmp_MenuStrRelease( PHCLINK_WORK * wk );

extern void PhcLinkBmp_CancelPrint( PHCLINK_WORK * wk, int bmpno );			// 「やめる」表示

extern int PhcLinkBmp_TalkWinPrint( PHCLINK_WORK *wk, int winno, int msgno );
extern void PhcLinkBmp_TalkWinPrintOnce( PHCLINK_WORK *wk, int winno, int msgno );


void PhcLinkBmp_StrPrintColor_M( PHCLINK_WORK *wk, int winno, STRBUF *str, int font, GF_PRINTCOLOR col );
void PhcLinkBmp_StrPrintColor_S( PHCLINK_WORK *wk, int winno, STRBUF *str, int font, GF_PRINTCOLOR col );
extern void PhcLinkBmp_StrPrint_M( PHCLINK_WORK *wk, int winno, STRBUF *str, int font );
extern void PhcLinkBmp_StrPrint_S( PHCLINK_WORK *wk, int winno, STRBUF *str );
extern void PhcLinkBmp_TitlePrint_M( PHCLINK_WORK *wk, int winno, STRBUF *str, int font );
extern void PhcLinkBmp_StrPrintExpand_M( PHCLINK_WORK *wk, int winno, int strId );
extern void PhcLinkBmp_StrPrintExpandColor_M( PHCLINK_WORK *wk, int winno, int strId, GF_PRINTCOLOR col );
extern void PhcLinkBmp_StrPrintExpand_S( PHCLINK_WORK *wk, int winno, int strId );
extern void PhcLinkBmp_StrPrintExpandColor_S( PHCLINK_WORK *wk, int winno, int strId, GF_PRINTCOLOR col );

extern void PhcLinkBmp_TimeWaitIconDel( PHCLINK_WORK *wk );
extern void PhcLinkBmp_TimeWaitIconPut( PHCLINK_WORK *wk );


extern void PhcLinkBmp_DumpBmpSet( PHCLINK_WORK *wk );



#endif // __PHCLINK_BMP_H__